﻿using SqlSugar;
using System;

namespace OldDataSync.NewDomains
{
    ///<summary>
    /// 心脑血管记录实体表
    ///</summary>
    public class VARecords : BaseDomain
    {
        /// <summary>
        /// VA选项表
        /// </summary>
        [SugarColumn(Length = 20)]
        public string VATable { set; get; }

        /// <summary>
        /// 体检表
        /// </summary>
        [SugarColumn(Length = 20)]
        public string LTHRTable { set; get; }

        /// <summary>
        /// 客户ID
        /// </summary>
        public int CustomerId { set; get; }

        /// <summary>
        /// 客户身份证号
        /// </summary>
        [SugarColumn(Length = 18)]
        public string IDNumber { set; get; }

        /// <summary>
        /// 总分数
        /// </summary>
        public int Score { set; get; }

        /// <summary>
        /// 是否完成
        /// </summary>
        public bool Finish { set; get; }

        /// <summary>
        /// 创建日期
        /// </summary>
        [SugarColumn(IsOnlyIgnoreUpdate = true, IsOnlyIgnoreInsert = true, IsNullable = true, DefaultValue = "GETDATE()")]
        public DateTime CreateDate { set; get; }

        /// <summary>
        /// 体检号，和天健系统对接
        /// </summary>
        [SugarColumn(Length = 35, IsNullable = true)]
        public string PEID { set; get; }

        /// <summary>
        /// 体检次数
        /// </summary>
        public int PECount { set; get; }
    }
}
